﻿@using MvcApplication1.Controllers
@using MvcApplication1.Models
@model Example1GridArg
@{ var info = new ClickableColumnInfo(Url.Action("Grid"), Model.GridContainerId); }
<table border="1">
    <tr>
        <th>@Grid.AJsUpdateGrid(info, @<text>@Example1OrderBy.C1</text>, @<text>Header 1</text>)</th>
        <th>Header 3</th>
        <th>@Grid.AJsUpdateGrid(info, @<text>@Example1OrderBy.C2</text>, @<text>Header 2</text>)</th>
    </tr>
    @foreach (var item in Model.Datas)
    {
        <tr>
            <td>@item.C1</td>
            <td>Header 4</td>
            <td>@item.C1</td>
        </tr>
    }
</table>